<?php
use yii\widgets\LinkPager;
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>新闻公告-玲珑手游加速器</title>
    <meta name="keywords" content="玲珑手游加速器,手机游戏加速,外服手游网络优化,王者荣耀,IOS加速器,安卓加速器" />
    <meta name="description" content="玲珑手游加速器专业加速海内外游戏，支持iOS加速、安卓加速，一键解决因网络问题造成的延迟高、卡顿、掉线、王者荣耀460等问题，支持王者荣耀加速、荒野行动加速、终结者2加速、光荣使命加速、吃鸡加速，让玩家自由畅玩海内外游戏" />
    <link rel="stylesheet" href="/dist/styles/news.css?v=b2b15b2749">
</head>

<body>

<!-- head.| 头部-->
<div class="lib-head">
    <a href="#" class="lib-head__logo">
        <img src="" alt="玲珑加速器">
    </a>
    <ul class="lib-head__nav">
        <li class="lib-head__item"><a href="/">网站首页</a></li>
        <li class="lib-head__item"><a href="/news">游戏资讯</a></li>
        <li class="lib-head__item cur"><a href="/notice">新闻公告</a></li>
        <li class="lib-head__item"><a href="/about">关于我们</a></li>
    </ul>
</div>
<!-- ban.| 通栏 -->
<div class="ban">
    <h1>
        新闻公告
        <p>N&nbsp;&nbsp;&nbsp;&nbsp;O&nbsp;&nbsp;&nbsp;&nbsp;T&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;&nbsp;&nbsp;&nbsp;C&nbsp;&nbsp;&nbsp;&nbsp;E</p>
    </h1>
</div>
<!-- news.| 游戏资讯 -->
<div class="news">
    <?php
    if (!empty($model)) {
        foreach ($model as $value) {
            ?>
            <div class="news__item">
                <div class="news__con">
                    <div class="news__date">
                        <h2><?= date('m.d', strtotime($value->updated_at))?></h2>
                        <span><?= date('y', strtotime($value->updated_at))?></span>
                    </div>
                    <a class="news__content" href="/notice/<?=$value->id?>">
                        <h2><?= $value->title?></h2>
                        <p>
                            <?= mb_substr(strip_tags($value->content), 0, 190).'...'?>
                        </p>
                    </a>
                </div>
            </div>
            <?php
        }
    }
    ?>
</div>
<!-- pag.| 分页 -->
<div class="pag">

    <?= LinkPager::widget([
        'pagination' => $pages,
        'options' => ['class' => 'pag__nav'],
        'pageCssClass' => 'pag__nav_item',
        'prevPageCssClass' => 'pag__other',
        'nextPageCssClass' =>  'pag__other',
        'firstPageCssClass' => 'pag__other',
        'lastPageCssClass' =>  'pag__other',
        'prevPageLabel' => '上一页',
        'nextPageLabel' => '下一页',
        'firstPageLabel' => '首页',
        'lastPageLabel' => '尾页',
    ]); ?>
</div>
<!-- lib-foot.|页脚 -->
<div class="lib-foot js-foot">
    <div class="lib-foot__con">
        <div class="lib-foot__main">
            <div class="lib-foot__logo">
                <a href="#">
                    <img src="" alt="">
                </a>
            </div>
            <div class="lib-foot__left">
                <p>
                    <a href="http://www.miitbeian.gov.cn/" target="_blank">豫ICP备14018944号-16</a>&nbsp;&nbsp;
                    <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=41019702002358" target="_blank">
                        <img src="" class="lib-foot__beian" alt="">豫公网安备
                        41019702002358号</a>
                </p>
            </div>
            <div class="lib-foot__right">
                <p>
                    <a href="javascript:;">iOS群：625596628</a>|
                    <a href="javascript:;">安卓群：575890279</a>
                </p>
            </div>
        </div>

    </div>
</div>

<script data-main="/dist/scripts/news.js?v=13b5965310" src="/dist/scripts/vendor/require.js"></script>
</body>

</html>